package com.ruoyi.personnel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门管理对象 department
 * 
 * @author ruoyi
 * @date 2023-03-04
 */
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门编号 */
    private Integer depId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String depName;

    /** 部门电话 */
    @Excel(name = "部门电话")
    private Long depPhone;

    /** 部门邮箱 */
    @Excel(name = "部门邮箱")
    private String depEmail;

    /** 版本号 */
    private Integer version;

    public void setDepId(Integer depId) 
    {
        this.depId = depId;
    }

    public Integer getDepId() 
    {
        return depId;
    }
    public void setDepName(String depName) 
    {
        this.depName = depName;
    }

    public String getDepName() 
    {
        return depName;
    }
    public void setDepPhone(Long depPhone) 
    {
        this.depPhone = depPhone;
    }

    public Long getDepPhone() 
    {
        return depPhone;
    }
    public void setDepEmail(String depEmail) 
    {
        this.depEmail = depEmail;
    }

    public String getDepEmail() 
    {
        return depEmail;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("depId", getDepId())
            .append("depName", getDepName())
            .append("depPhone", getDepPhone())
            .append("depEmail", getDepEmail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("version", getVersion())
            .toString();
    }
}
